namespace ext.form
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>
	/// TwinTriggerField is not a public class to be used directly. It is meant as an abstract base class
	/// to be extended by an implementing class. For an example of implementing this class, see the custom
	/// SearchField implementation here:
	/// http://extjs.com/deploy/ext/examples/form/custom.html
	/// </summary>
	/// <htmlSummary>
	/// TwinTriggerField is not a public class to be used directly. It is meant as an abstract base class
	/// to be extended by an implementing class. For an example of implementing this class, see the custom
	/// SearchField implementation here:
	/// &lt;a href=&quot;http://extjs.com/deploy/ext/examples/form/custom.html&quot;&gt;http://extjs.com/deploy/ext/examples/form/custom.html&lt;/a&gt;
	/// </htmlSummary>
	/// <definedin>src\widgets\form\TriggerField.js</definedin>
	[ScriptName("TwinTriggerField")]
	[ScriptNamespace("Ext.form")]
	[Imported()]
	public partial class TwinTriggerField : ext.form.TriggerField
	{
		
		#region Constructors
		public TwinTriggerField(ext.form.TwinTriggerField_Configuration config)
		{
		}
		
		/// <summary>Constructor</summary>
		public TwinTriggerField()
		{
		}
		#endregion
		
		#region Fields
		/// <summary>
		/// A {@link Ext.DomHelper DomHelper} config object specifying the structure of the trigger elements
		/// for this Field. (Optional).  Specify this when you need a customized element to contain the two trigger elements for this Field.
		/// Each trigger element must be marked by the CSS class x-form-trigger (also see
		/// {@link #trigger1Class} and {@link #trigger2Class}).  Note that when using this option, it is the developer&apos;s responsibility to ensure correct sizing,
		/// positioning and appearance of the triggers.
		/// </summary>
		/// <htmlSummary>
		/// &lt;p&gt;A {@link Ext.DomHelper DomHelper} config object specifying the structure of the trigger elements
		/// for this Field. (Optional).&lt;/p&gt;
		/// &lt;p&gt;Specify this when you need a customized element to contain the two trigger elements for this Field.
		/// Each trigger element must be marked by the CSS class &lt;tt&gt;x-form-trigger&lt;/tt&gt; (also see
		/// &lt;tt&gt;{@link #trigger1Class}&lt;/tt&gt; and &lt;tt&gt;{@link #trigger2Class}&lt;/tt&gt;).&lt;/p&gt;
		/// &lt;p&gt;Note that when using this option, it is the developer&apos;s responsibility to ensure correct sizing,
		/// positioning and appearance of the triggers.&lt;/p&gt;
		/// </htmlSummary>
		/// <definedin>src\widgets\form\TriggerField.js</definedin>
		[ScriptName("triggerConfig")]
		public object TriggerConfig;
		
		/// <summary>
		/// An additional CSS class used to style the trigger button. The trigger will always get the
		/// class &apos;x-form-trigger&apos; by default and triggerClass will be appended if specified.
		/// </summary>
		/// <htmlSummary>
		/// An additional CSS class used to style the trigger button. The trigger will always get the
		/// class &lt;tt&gt;&apos;x-form-trigger&apos;&lt;/tt&gt; by default and &lt;tt&gt;triggerClass&lt;/tt&gt; will be &lt;b&gt;appended&lt;/b&gt; if specified.
		/// </htmlSummary>
		/// <definedin>src\widgets\form\TriggerField.js</definedin>
		[ScriptName("trigger1Class")]
		public string Trigger1Class;
		
		/// <summary>
		/// An additional CSS class used to style the trigger button. The trigger will always get the
		/// class &apos;x-form-trigger&apos; by default and triggerClass will be appended if specified.
		/// </summary>
		/// <htmlSummary>
		/// An additional CSS class used to style the trigger button. The trigger will always get the
		/// class &lt;tt&gt;&apos;x-form-trigger&apos;&lt;/tt&gt; by default and &lt;tt&gt;triggerClass&lt;/tt&gt; will be &lt;b&gt;appended&lt;/b&gt; if specified.
		/// </htmlSummary>
		/// <definedin>src\widgets\form\TriggerField.js</definedin>
		[ScriptName("trigger2Class")]
		public string Trigger2Class;
		#endregion
		
		#region Methods
		/// <summary>
		/// The function that should handle the trigger&apos;s click event. This method does nothing by default
		/// until overridden by an implementing function. See {@link Ext.form.TriggerField#onTriggerClick}
		/// for additional information.
		/// </summary>
		/// <definedin>src\widgets\form\TriggerField.js</definedin>
		/// <param name="e"></param>
		[ScriptName("onTrigger1Click")]
		public void OnTrigger1Click(ext.EventObject e)
		{
			throw new System.Exception("Imported - not implemented");
		}
		
		/// <summary>
		/// The function that should handle the trigger&apos;s click event. This method does nothing by default
		/// until overridden by an implementing function. See {@link Ext.form.TriggerField#onTriggerClick}
		/// for additional information.
		/// </summary>
		/// <definedin>src\widgets\form\TriggerField.js</definedin>
		/// <param name="e"></param>
		[ScriptName("onTrigger2Click")]
		public void OnTrigger2Click(ext.EventObject e)
		{
			throw new System.Exception("Imported - not implemented");
		}
		#endregion
	}
}
